package cn.laixueit.service;

import cn.laixueit.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface CategoryService extends IService<Category> {
    List<Category> listCategory(String belongType,String pid,String name);
    List<Map<String,Object>> listTree(String belongType);

    void saveCategory(Category category);

    void removeCategory(Integer id);
}
